feat(sdk-core): add Async HTTP-client warm-up to SdkWarmUp.prime() for CRaC priming#7092
Merged
joviegas merged 12 commits intoJun 30, 2026
Conversation
…/crac_warmup_orchestration_partB
…/crac_warmup_orchestration_partB
1aaaa3e to
fcb71e9
Compare
alextwoods
reviewed
Jun 30, 2026
alextwoods
approved these changes
Jun 30, 2026
f8e4a24
into
feature/master/crac_auto_priming_support
3 checks passed
|
This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Async counterpart to #7080 (sync warm-up).
SdkWarmUp.prime()warmed only sync HTTP clients.Similar implementation was needed for async clients (Netty, CRT)
Modifications
Adds
AsyncHttpClientWarmer, the async analogue ofSyncHttpClientWarmerfrom #7080:discovers each
SdkAsyncHttpService, sends a best-effort GET to the STS endpoint, drainsthe response. Reuses the same infra (
HttpClientWarmer,WarmUpDiscovery,RegionEndpointResolver) and is wired intoClasspathHttpWarmupInvoker, soprime()nowwarms both sync and async.
Async-specific (vs #7080):
CompletableFuture— must complete before checkpoint.SimpleSubscriber(overrides no-op onComplete/onError).ASYNC_BLOCKING_CALLsuppression for the intentional bounded get().Test
License